/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.graphic.objects.addons;

import java.awt.geom.Line2D;
import model.graphic.locations.Location;

/**
 *
 * @author Jelle
 */
public class RemoveAddon extends Addon {

    public RemoveAddon(){ }
    
    /**
     * @param center the center to set
     */
    public void setCenter(Location center) {
        this.center = center;
        l1 = new Line2D.Double(center.getX() - 4, center.getY() - 4, center.getX() + 4, center.getY() + 4);
        l2 = new Line2D.Double(center.getX() - 4, center.getY() +4, center.getX() + 4, center.getY() -4);
    }
}
